* {
    margin: 0;
    padding: 0;
}

#jModal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(247, 248, 248, 0.79);
    z-index: 7;
}

#jModal-modal {
    width: 480px;
    position: fixed;
    background-color: rgba(133, 133, 133, 0.48);
    padding: 8px;
    box-shadow: 0 10px 15px -5px #555;
    border-radius: 10px;
    z-index: 8;
}

#jModal-head {
    position: relative;
    height: 32px;
    background-color: #6e84b5;
    border-top: 1px solid #6178a7;
    border-left: 1px solid #6178a7;
    border-right: 1px solid #6178a7;
    border-radius: 4px 4px 0 0;

}

#jModal-head * {
    line-height: 32px;
    font-size: 18px;
    font-weight: bold;
    padding: 2px 10px;
    font-family: helvetica, tahoma, serif;
    color: #ffffff;
    text-shadow: 0 1px 0 #333;
}

#jModal-x-close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 8px;
    cursor: pointer;
    color: #cdcace;
    text-shadow: none;
    font-weight: normal;

}

#jModal-x-close:hover {
    color: #e1dee2;
}

#jModal-title {
}

#jModal-foot {
    overflow: hidden;
    background-color: #f2f2f2;
    border-right: 1px solid #6178a7;
    border-left: 1px solid #6d86b9;
    border-bottom: 1px solid #748fc6;
    border-radius: 0 0 4px 4px;
}

#jModal-body {
    padding: 8px 10px;
    text-align: center;
    background-color: #FFF;
    border-right: 1px solid #6178a7;
    border-left: 1px solid #6178a7;
}

#jModal-foot button {
    display: block;
    float: right;
    padding: 5px 18px;
    border: none;

    cursor: pointer;
    border-left: 1px solid #ccc;
    color: #494947;
}



.jModal-button {
    background: #feffff; /* Old browsers */
    background: -moz-linear-gradient(top, #feffff 0%, #cccccc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#feffff), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #feffff 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #feffff 0%,#cccccc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #feffff 0%,#cccccc 100%); /* IE10+ */
    background: linear-gradient(top, #feffff 0%,#cccccc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffff', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}

#jModal-foot button:hover {
    background: #e4e3e5;
    color: #000;
}

#jModal-foot button:active {
    color: #6260a3;
    background: #e2e3ff;
}

#jModal-content {
    margin: 10px 0;
    color: #2b6ba9;
    font-size: 17px;
}

#jModal-content .sub {
    font-style: italic;
    font-size: 13px;
    margin-top: 5px;
    font-family: "times new roman", serif;
    color: #98a3ff;
}

#jModal-content.error {
    color: #ec2c38;
}

#jModal-content.warning {
    color: #ffb153;
}

#jModal-loading {
    width: 200px;
    height: 30px;
    color: rgba(0, 0, 0, 0);
    background: url("jmodal-loading.gif") no-repeat;
    margin: auto;
}